package com.xtck.ha.common.core.annotation;
import org.springframework.context.annotation.Description;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(ElementType.TYPE) // 限定注解只能用于字段
@Retention(RetentionPolicy.RUNTIME) // 注解在运行时有效
@Description("用于定义排序字段")
public @interface SortKey {
    String value();
}
